231 Power of Two leetcode problem in c